<template>
    <div>
        <div class="label">三级菜单1</div>
        <el-button type="primary" @click="clickChangeTime">修改日期</el-button>
        <el-date-picker v-model="timePicker" type="date" placeholder="Pick a day" size="default" />
    </div>
</template>
<script lang="ts">
export default {
    name: 'userItemOneChildOne'
};
</script>
<script lang="ts" setup>
import { ref } from 'vue';
const timePicker = ref('');
const clickChangeTime = () => {
    timePicker.value = '1996-10-01';
};
</script>

<style lang="scss" scoped>
.label {
    margin-bottom: 10px;
}
.el-button {
    margin-right: 10px;
}
</style>
